<template>
  <div class="slotDemo">
      {{msg}}
      <slot></slot>
      <slot name="diy" :msg1="msg"></slot>
  </div>
</template>
<script>
  export default {
    name: "slotDemo",
    data:function(){
        return {
            msg:"slotDemo",
        }
    },
    methods:{
        
    }
  }

</script>
<style scoped>

</style>
